package com.qimei.onerice.dao;

import com.qimei.onerice.entity.Admin;

import java.util.List;

public interface AdminDao {

	int addAdmin(Admin admin);

	int updateAdmin(Admin admin);

	int deleteAdmin(int adminId);

	Admin adminLogin(String username, String password);

	Admin getAdminById(int adminId);

	List<Admin> getAllAdmins();
	boolean isAdminExists(String username, String contact, String email);
}

